package com.ynsj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ynsj.domain.SysRole;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {
    /**
     * 获取用户角色code
     * @param userId
     * @return
     */
    List<String> getUserRoleCodes(Long userId);
}
